#ifndef __COLOR_H

#define __COLOR_H
//#define N 100//最大容纳学生个数

#include<stdio.h>//printf,scanf
#include<string.h>//strcpy,strcmp,strlen
#include<stdlib.h>//malloc,calloc,rand
#include<unistd.h>//sleep



#define DEFAULT_MODE "\e[0m" /*默认模式，不做任何处理*/
#define UNDERLINE "\e[4m" /*下划线*/
#define BLINK "\e[5m" /*闪烁*/
#define REVERSE "\e[7m" /*反转*/
#define HIDE "\e[8m" /*隐藏*/
#define CLEAR "\e[2J" /*清除*/

/*设置字体font颜色*/
#define FONT_BLACK "\e[0;30m"            /*黑色*/
#define FONT_RED "\e[0;31m" /*默认，红色*/
#define FONT_HIGHLIGHT_RED "\e[1;31m" /*高亮highlight，鲜红*/
#define FONT_GREEN "\e[0;32m" /*默认，绿色*/
#define FONT_HIGHLIGHT_GREEN "\e[1;32m" /*高亮highlight，鲜绿*/
#define FONT_YELLOW "\e[0;33m" /*默认，黄色*/
#define FONT_HIGHLIGHT_YELLOW "\e[1;33m" /*高亮highlight，鲜黄*/
#define FONT_BLUE "\e[0;34m" /*默认，深蓝*/
#define FONT_HIGHLIGHT_BLUE "\e[1;34m" /*高亮highlight，偏白灰*/
#define FONT_PURPLE "\e[0;35m" /*默认，深粉*/
#define FONT_HIGHLIGHT_PURPLE "\e[1;35m" /*高亮highlight，偏白灰*/
#define FONT_CYAN "\e[0;36m" /*默认，暗青色*/
#define FONT_HIGHLIGHT_CYAN "\e[1;36m" /*高亮highlight，鲜亮青色*/
#define FONT_GRAY "\e[0;37m" /*灰色*/
#define FONT_HIGHLIGHT_WHITE "\e[1;37m" /*高亮highlight，白色*/

/*设置背景background颜色*/
#define BACKGROUND_BLACK "\e[40m" /*黑色*/
#define BACKGROUND_RED "\e[41m" /*红色*/
#define BACKGROUND_GREEN "\e[42m" /*绿色*/
#define BACKGROUND_YELLOW "\e[0;43m" /*黄色*/
#define BACKGROUND_BLUE "\e[0;44m" /*蓝色*/
#define BACKGROUND_PURPLE "\e[45m" /*品红*/
#define BACKGROUND_CYAN "\e[0;46m" /*青色*/
#define BACKGROUND_GRAY "\e[0;47m" /*白色*/

#endif